/**
 * name:xue
 * @:开发环境
 */
const {merge} = require('webpack-merge'); //引入合并插件
const common = require('../webpack.commons.js');
let webpack = require('webpack');

module.exports = merge(common,{//将common合并到当前文件
    mode:'development',
    //缓存
    devtool: 'inline-source-map',
    //热加载
    devServer: {
        static: './dist',
    }
})